<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> 
<script type="text/javascript" src = "common/dgmValidateJS.js"></script>

	<link rel="stylesheet" type="text/css" href="css/button.css">
	<link rel="stylesheet" type="text/css" href="css/user.css">
	
	
	<%--
	custom
	--%>
<script type="text/javascript" src = "oa/user/currentUserEdit.js"></script>
	
	</head>
	<style type="text/css">
		h3{font-size:18px}
		.item{padding:5px 0 5px 3px;}
		.label{display:inline-block; width:120px; font-size:18px; font-weight:bold;}
		.input{width:200px;height:25px; padding:4px 0 4px 3px; margin-right:10px;  }
		.input_focus{background:white; border-color:#ce9400; color:#444444;}
		#userForm input.invalid { border: 1px dotted red; } 
		#userForm label.invalid {margin-left: 10px;width: auto; display: inline; color:red;}
		.submit { border:none; width:70px;height:32px;font-weight:bold;font-size:18px;
	</style> 
	<body>
	
	<%--<form id="userForm"  method="post" >
--%><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="img/tab_03.gif" width="15" height="30" /></td>
        <td width="100%" background="img/tab_05.gif">修改用户</td>
        <td width="14"><img src="img/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0"  cellspacing="0" >
      <tr>
        <td width="9" background="img/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd">
          <table  width="99%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#84b1d3" >
          <tr class="trtab">
            <td class="tdtab" width="50%">
            	<span class="tdspan"><span style="color:red">*</span>登录名：</span>
            	<span id = 'userId'>${tbUser.tbUserId}</span>
			</td>
            <td class="tdtab" width="50%">
            	<span class="tdspan"><span style="color:red">*</span>真实姓名：</span>
            	<input type="text" class="input" id="uName" name="user.UName" tabindex="2" value=${tbUser.name} />
			</td>
          </tr>
          
          <tr class="trtab">
            <td class="tdtab" >
            	<span class="tdspan"><span style="color:red">*</span>登录密码：</span>
            	<input type="password" class="input" id="uPassword" name="user.UPassword"  tabindex="3"/>
			</td>
            <td class="tdtab" >
            	<span class="tdspan"><span style="color:red">*</span>密码确认：</span>
            	<input type="password" class="input" id="pwd_check" name="pwd_check" tabindex="4" />
			</td>
          </tr>
           
              <tr class="trtab">
            <td class="tdtab" >
            	<span class="tdspan"><span style="color:red">*</span>手机号码：</span>
            	<input type="text"  id="uPhone" value=${tbUser.mobilephone} ''  tabindex="5" formatclass='15,^\d+$,1' />
            	<span class='input_check' style="color:red"></span>
			</td>	
            <td class="tdtab" ><span class="tdspan">固定电话：</span>
            	<input type="text"  id="uTel"  tabindex="6" value=${tbUser.telephone} ''  formatclass='15,^\d+$,0' />
            	<span class='input_check' style="color:red"></span>
			</td>
          </tr>
          <tr class="trtab">
            <td class="tdtab" ><span class="tdspan">传真号码：</span>
            	<input type="text"  id="uFax"  tabindex="7" value=${tbUser.fax} '' formatclass='15,^\d+$,0' />
            	<span class='input_check' style="color:red"></span>
			</td>
            <td class="tdtab" ><span class="tdspan">邮箱地址：</span>
            	<input type="text"  id="uMail"  tabindex="5" value=${tbUser.email} '' formatclass='15,\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*,0' />
            	<span class='input_check' style="color:red"></span>
			</td>
          </tr>
          <tr class="trtab">
          	<td align="center" colspan="2"> 
          		<input id="submit" type="button" value="提交"/> 
          		<span style="padding-left:20">
          		<input id="return" type="button" onclick="window.location.href='oa/user/users.jsp'" value="返回"/></span>
          	</td>
          </tr>
          </table></td>
        <td width="9" background="img/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="img/tab_20.gif" width="15" height="29" /></td>
        <td width="100%" background="img/tab_21.gif"> </td>
        <td width="14"><img src="img/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>

<%--</form>
	--%>
	</body>
</html>